﻿<UserControl xmlns:my="clr-namespace:SLExcel"  x:Class="SLExcel.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Loaded="UserControl_Loaded" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Border BorderBrush="LightGray" BorderThickness="1"> 
        
        <Grid x:Name="LayoutRoot" Background="White" Cursor="Hand"> 
            <sdk:TabControl  x:Name="sheetTabControl"  TabStripPlacement="Bottom"  Width="800" Height="600" SelectionChanged="sheet1_SelectionChanged">
                <sdk:TabItem Header="Sheet1"  >
                    <Border  BorderBrush="LightGray" BorderThickness="1">
                        <Grid Name="sheet1_grid">                         
                        </Grid>
                    </Border>
                </sdk:TabItem> 
                <sdk:TabItem Header="*" Name="newSheetTabItem">
                    <Border  BorderBrush="LightGray" BorderThickness="1">
                        <Grid Name="sheet3_grid">
                        </Grid>
                    </Border>
                </sdk:TabItem>
            </sdk:TabControl>
           
        </Grid>
    </Border>
</UserControl>
